package com.jianglin.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PropertyInfo对象", description="物业收费信息表")
public class PropertyInfo implements Serializable {

    private static final long serialVersionUID = 1L;
    private Integer id;
    private  House house;
    private  Owner owner;
    private PropertyType type;
    private Integer typeId;
    private Double money;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date startDate;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date endDate;
    private Integer status;
    private Integer houseId;
    private String remarks;


}
